@extends("fontend.master")
@section("content")
	<h2 class="title">{{$title}}</h2>

	@foreach($posts as $post)
	<div class="box">
		<div class="col-sm-3 list-left">
			<a href="{{URL::route('baiviet_detail_get',array(Unicode::make($post->title),$post->id))}}"><img src="{{$post->img}}" class="img-circle"></a>
		</div>

		<div class="col-sm-9 list-right">
			<a href="{{URL::route('baiviet_detail_get',array(Unicode::make($post->title),$post->id))}}"><h3>{{$post->title}}</h3></a>
			{{Str::limit($post->description,190)}}
		</div>

	</div>

	@endforeach
	{{$posts->links()}}
@endsection